import Vue from 'vue'
import Router from 'vue-router'
import homePage from '@/views/home/index'
import me from '@/views/me/index'
import classify from '@/views/classify/index'
import categoryList from '@/views/classify/categoryList.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'homePage',
      component: homePage
    }, {
      path: '/homePage',
      name: 'homePage',
      component: homePage
    }, {
      path: '/me',
      name: 'me',
      component: me
    }, {
      path: '/classify',
      name: 'classify',
      component: classify
    }, {
      path: '/categoryList',
      name: 'categoryList',
      component: categoryList
    }
  ]
})
